package itdfq.ydd.Creational_Pattern.jianzaozhe;

/**
 * @Author GocChin
 * @Date 2021/3/22 14:34
 * @Blog: itdfq.com
 * @QQ: 909256107
 */
public class Waiter {
    private  DiroBuilder diroBuilder;
    public void setDiroBuilder(DiroBuilder diroBuilder){
        this.diroBuilder=diroBuilder;
    }
    public Dior consurcut(){
        diroBuilder.buildKouhong();
        diroBuilder.buildMianmo();
        return diroBuilder.getProduct();
    }

}
